<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<jsp:include page="menu.jsp"></jsp:include>

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>用户登录</title>
<link rel="stylesheet" type="text/css" href="css/my.css" />
<style type="text/css">
body {
    background-image: url("img/background.png");
    background-size: cover;
    font-family: "Noto Sans SC", sans-serif;
}
</style>
</head>
	<body>
	<div style="height: 150px"></div>
	<form action="login" method="post" class="f1">
		<div style="height: 30px"></div>
		<h2 class="title">攀枝花学院文件分享系统</h2>
			<table class="ta">
				<tr>
					<td class="tp">用户名</td>
					<td>
						<input type="text" name="username" value="${cookie.username.value}" placeholder="请输入您的用户名："/>
					</td>
					<td></td>
				</tr>
				<tr>
					<td class="tp">密码</td>
					<td>
						<input type="password" name="password" value="${cookie.password.value}" placeholder="请输入您的密码："/>
					</td>
					<td></td>
				</tr>
				<tr>
					<td colspan="2">
						<input type="checkbox" name="save" value="yes" ${empty cookie.save.value?'':'checked'}/>
						密码保存7天
					</td>
					<td><a href="emaillogin.jsp" title="忘记密码？试试邮箱登录">忘记密码</a></td>
				</tr>
				<tr>
					<td></td>
					<td><input type="submit"  value="登录" class="sub1" title="点击登录"/></td>
					<td></td>
				</tr>
				<tr>
					<td></td>
					<td colspan="2"><a href="regist.jsp" title="没有账号？快点击注册吧！">新用户注册</a></td>
				</tr>
			</table>
		</form>
	</body>
</html>
